package com.ruoyi.erecord.device.mapper;

import com.ruoyi.erecord.device.domain.Device;
import com.ruoyi.erecord.device.domain.vo.DeviceVo;
import com.ruoyi.common.core.mapper.BaseMapperPlus;

import java.util.Collection;
import java.util.List;

/**
 * 设备Mapper接口
 *
 * @author cc
 * @date 2023-04-19
 */
public interface DeviceMapper extends BaseMapperPlus<DeviceMapper, Device, DeviceVo> {

    int hasLocus(Collection<String> ids);

	int queryByCode(String code);

    int updateInfo(Device device);

    List<Device> queryByList(List<Device> list);
}
